//
//  YKCommonsViewController.m
//  baisi
//
//  Created by 吴高烽 on 16/8/29.
//  Copyright © 2016年 吴高烽. All rights reserved.
//

#import "YKCommonsViewController.h"
#import "YKCReconmendController.h"
#import "YKLoginRegisterViewController.h"
@interface YKCommonsViewController ()

@end

@implementation YKCommonsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = YKGlobalBackgroundColor;
    self.navigationItem.title = @"我的关注";
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImage:@"friendsRecommentIcon" selectImage:@"friendsRecommentIcon-click" target:self action:@selector(friendClick)];

}
-(void)friendClick{
//    YKLog(@"friendClick");
    YKCReconmendController *view = [[YKCReconmendController alloc]init];
    [self.navigationController pushViewController:view animated:YES];
}
- (IBAction)loginRegistre:(UIButton *)sender {
    YKLoginRegisterViewController *loginVC = [[YKLoginRegisterViewController alloc]init];
    [self.navigationController presentViewController:loginVC animated:YES completion:nil];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
